From e7b2454ce399aac76f0d3d706f4f3d6b5f2b96df Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 8 Dec 1999 21:17:52 +0000 Subject: [PATCH] Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion 1999-12-08 Federico Mena Quintero * gdk-pixbuf/gdk-pixbuf-drawable.c: Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion sanity checks and API definition. The body needs filling in and it needs to do the Right Thing(tm) for pixmaps plus the given colormap and windows and their own colormaps. * gdk-pixbuf/gdk-pixbuf.h: Added prototype for gdk_pixbuf_get_from_drawable(). Killed gdk-pixbuf-drawable.h. * gdk-pixbuf/Makefile.am: Re-added the gdk-pixbuf-drawable sources. * doc/tmpl/from-drawables.sgml: Populated. * doc/gdk-pixbuf.sgml: Added the from-drawables section. * doc/Makefile.am (tmpl_sources): Added tmpl/from-drawables.sgml. * doc/gdk-pixbuf-sections.txt: Added a section for getting pixbufs from drawables. --- docs/reference/gdk-pixbuf/gdk-pixbuf-decl.txt | 15 +++++---------- .../gdk-pixbuf/tmpl/gnome-canvas-pixbuf.sgml | 1 + 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-decl.txt b/docs/reference/gdk-pixbuf/gdk-pixbuf-decl.txt index 04c1f85c9f..2413a24f95 100644 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf-decl.txt +++ b/docs/reference/gdk-pixbuf/gdk-pixbuf-decl.txt @@ -1,13 +1,3 @@ - -gdk_pixbuf_rgb_from_drawable -GdkPixbuf * -GdkWindow *window, gint x, gint y, gint width, gint height - - -gdk_pixbuf_rgba_from_drawable -GdkPixbuf * -GdkWindow *window, gint x, gint y, gint width, gint height - ModulePreparedNotifyFunc void @@ -222,6 +212,11 @@ GdkPixbuf *pixbuf,GdkDrawable *drawable, GdkGC *gc,int src_x, int src_y,int dest void GdkPixbuf *pixbuf, GdkDrawable *drawable,int src_x, int src_y,int dest_x, int dest_y,int width, int height,GdkPixbufAlphaMode alpha_mode,int alpha_threshold,GdkRgbDither dither,int x_dither, int y_dither + +gdk_pixbuf_get_from_drawable +GdkPixbuf * +GdkPixbuf *dest,GdkDrawable *src, GdkColormap *cmap,int src_x, int src_y,int dest_x, int dest_y,int width, int height + GNOME_TYPE_CANVAS_PIXBUF #define GNOME_TYPE_CANVAS_PIXBUF (gnome_canvas_pixbuf_get_type ()) diff --git a/docs/reference/gdk-pixbuf/tmpl/gnome-canvas-pixbuf.sgml b/docs/reference/gdk-pixbuf/tmpl/gnome-canvas-pixbuf.sgml index 4aecde2f3a..9ae9baeed4 100644 --- a/docs/reference/gdk-pixbuf/tmpl/gnome-canvas-pixbuf.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/gnome-canvas-pixbuf.sgml @@ -325,3 +325,4 @@ mode: sgml sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "") End: --> + -- 2.30.2